﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.SmartStorPro.Domain
{

    /// <summary>
    /// 库存清单表
    /// </summary>
    public class InventoryList
    {
        /// <summary>
        ///   库存清单唯一标识       --主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int ListlD { get; set; }
        /// <summary>
        /// 产品编号
        /// </summary>
        /// 
        [MaxLength(50)]
        public string ProductCode { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        /// 
        [MaxLength(50)]
        public string ProductName { get; set; }
        /// <summary>
        /// 产品规格
        /// </summary>
        /// 
        [MaxLength(50)]
        public string Specification { get; set; }
        /// <summary>
        /// 类别
        /// </summary>
        /// 
        [MaxLength(50)]
        public string Category { get; set; }
        /// <summary>
        /// 存储单位
        /// </summary>
        /// 
        [MaxLength(50)]
        public string StorageLocation { get; set; }
      

        /// <summary>
        /// 仓库--外键
        /// </summary>
        public int WarehouseId { get; set; }

        /// <summary>
        /// 库位Id--外键
        /// </summary>

        public int LocationId { get; set; }

       
        /// <summary>
        /// 是否删除(1-删除 0正常)
        /// </summary>
        public bool IsDelete { get; set; }

    }
}
